gl renderer: Add a clip stack
authorTimm Bäder <mail@baedert.org>
Sun, 30 Dec 2018 14:25:01 +0000 (15:25 +0100)
committerTimm Bäder <mail@baedert.org>
Mon, 31 Dec 2018 11:44:02 +0000 (12:44 +0100)
commit1d3aa9207c44c4820de8b758b6dee3b3c68be966
tree9239c408bf1558c4843aaba492a0da5554d6f8c1
parentb4f2a3416ecfd4fbc86606b8c72a60097112b042
gl renderer: Add a clip stack

So we can check that the currently set clip is the first one and now
intersect with it. This first clip is always the entire viewport or the
entire render_area and we don't want to end up drawing things to a
texture because of it.
gsk/gl/gskglrenderer.c
gsk/gl/gskglrenderops.c
gsk/gl/gskglrenderopsprivate.h